import java.lang.reflect.Method;

public class Demo {
    public static void main(String[] args) throws  Exception {
        Method method = Class.forName("OneClass").getDeclaredMethod("oneMethod");
        OneAnnotation oneAnnotation = method.getAnnotation(OneAnnotation.class);
        System.out.println(oneAnnotation.parameter1());
        System.out.println(oneAnnotation.parameter2());
    }
}
